AmpProject\AmpWP\Admin\SiteHealth C

Total Complexity 115
Dependencies 9
Dependents 1
Total lines 1,245
Lines of code 863
Logical lines of code 270
Comment lines 253
Methods 30
Properties 2

Methods 30

Method Rating Maintainability Complexity Lines of code
page_cache()
B
35 13 91
check_for_page_caching()
A
41 14 52
get_page_cache_detail()
A
45 12 39
persistent_object_cache()
A
39 7 73
supports_async_rest_tests()
S
52 7 26
curl_multi_functions()
S
40 3 73
icu_version()
S
46 5 41
add_tests()
S
46 5 39
slug_definition_timing()
S
49 5 33
css_transient_caching()
S
45 4 47
add_debug_information()
S
40 2 73
xdebug_extension()
S
51 4 27
get_persistent_object_cache_availability()
S
54 4 23
modify_test_result()
S
62 4 11
get_page_cache_headers()
S
48 2 36
get_supported_templates()
S
56 3 20
add_styles()
S
56 1 48
is_intl_extension_needed()
S
60 3 14
add_extensions()
S
54 2 25
get_css_transient_caching_disabled()
S
68 3 7
get_serve_all_templates()
S
70 3 6
register_async_test_endpoints()
S
60 1 15
__construct()
S
77 1 4
get_good_response_time_threshold()
S
79 1 3
get_persistent_object_cache_learn_more_action()
S
68 1 8
get_badge_label()
S
79 1 3
get_css_transient_caching_threshold()
S
69 1 7
get_css_transient_caching_sampling_range()
S
69 1 7
register()
S
64 1 9
get_registration_action()
S
81 1 3